﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.S.DataBasic.Domain.RBAC
{
    /// <summary>
    /// 用户角色中间表
    /// </summary>
    //public class UserRole
    //{
    //    [Key]
    //    public int URId { get; set; }

    //    public int UserId { get; set; }

    //    public int RPId { get; set; }
    //}

    public class UserRole
    {
        public int UserId { get; set; }
        public User User { get; set; }
        public int RoleId { get; set; }
        public Role Role { get; set; }
    }
}
